package com.itxiuyixiu.volunteer.dto;

import javax.validation.constraints.NotEmpty;

/**
 * @author 黄磊
 * @date 2020/6/1
 */
public class UserModifyPasswordParam {
    @NotEmpty(message = "旧密码不能为空")
    private String oldPassword;
    @NotEmpty(message = "新密码不能为空")
    private String newPassword;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
